<?php

/*
 * This file is part of the yuki package.
 * Copyright (c) 2011 olamedia <olamedia@gmail.com>
 *
 * This source code is release under the MIT License.
 * 
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * yException
 *
 * @package yuki
 * @subpackage exception
 * @version SVN: $Id: yException.php 109 2011-02-19 08:11:02Z olamedia@gmail.com $
 * @revision SVN: $Revision: 109 $
 * @date $Date: 2011-02-19 08:11:02 +0000 (Sat, 19 Feb 2011) $
 * @author olamedia
 * @license http://www.opensource.org/licenses/mit-license.php MIT
 */
class yException{
    protected static $_phpErrors = array(
        E_ERROR=>'Fatal Error', // 1
        E_WARNING=>'Warning', // 2
        E_PARSE=>'Parse Error', // 4
        E_NOTICE=>'Notice', // 8
        // 16-128 is a core errors
        E_USER_ERROR=>'User Error', // 256
        E_USER_WARNING=>'User Warning', // 512
        E_USER_NOTICE=>'User Notice', // 1024
        E_STRICT=>'Strict', // 2048 since PHP 5
        4096=>'Recoverable Error', // E_RECOVERABLE_ERROR since PHP 5.2.0
        // FIXME: replace with constants at Y2012:
        8192=>'Deprecated', // E_DEPRECATED since PHP 5.3.0
        16384=>'User Deprecated', // E_USER_DEPRECATED since PHP 5.3.0
    );
}

